<div class="col-sm-1 text-center pull-right">
    <select class="form-control" name="user_rank_id" >
        <option value="">请选择等级</option>
        @foreach($user_rank as $k=>$v)
            <option value="{{$v->id}}" @if($user_rank_id == $v->id) selected="selected" @endif>{{$v->rank_name}}</option>
        @endforeach
    </select>
</div>

